package com.woniuxy.rms.util;
/**
 * Auther: ChenGang  <br/>
 * Date: 2020/3/23 0023:下午 8:49  <br/>
 * Description:常用返回结果枚举类
 */
public enum  ResultUtil {
    SUCCESS(200,"操作成功！"),
    FAILED(500,"操作失败！");
    private Integer code ;
    private String message;

    private ResultUtil(Integer code ,String message){
        this.code = code;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}